package zunyi09;

/**
 * 乒乓球教练
 */
public class Table_tennis_coach extends Coach implements StudyEnglish{
    public Table_tennis_coach() {
    }

    public Table_tennis_coach(String name, Integer age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println("乒乓球教练教打乒乓球");
    }

    @Override
    public void eat() {
        System.out.println("以下是乒乓球教练：");
        System.out.println(name+"---"+age);
        System.out.println("乒乓球教练吃蔬菜和肉类");
    }

    @Override
    public void studyEnglish() {
        System.out.println("乒乓球教练会说英语");
    }
}
